package com.zhou.JavaAndroidFirm.constract;

import com.zhou.JavaAndroidFirm.base.BaseModel;
import com.zhou.JavaAndroidFirm.base.BasePresenter;
import com.zhou.JavaAndroidFirm.bean.NewsChannelTable;

import java.util.List;

import rx.Observable;

/**
 * @author Administrator
 * @date 2018/7/15 0015
 * @des
 */
public interface NewsMainConstract {
    interface Model extends BaseModel {
        Observable<List<NewsChannelTable>> lodeMineNewsChannels();
    }

    interface View extends BaseView {
        void returnMineNewsChannels(List<NewsChannelTable> newsChannelsMine);
    }

    abstract class Presenter extends BasePresenter<View, Model> {
        public abstract void lodeMineChannelsRequest();
    }
}
